<template>
    <div>
        <van-cell-group style="margin-top:20px;">
            <van-cell title="查看我的工人信息" is-link to="/checkWorkerInfo" icon="search"/>
            <van-cell title="添加我的工人信息" is-link to="/workerAdd" icon="add-o"/>
        </van-cell-group>
    </div>
</template>
<script scoped>
    import {CellGroup, Cell} from 'vant';

    export default {
        name: "workerInfo",
        components: {
            [CellGroup.name]: CellGroup,
            [Cell.name]: Cell
        },
        data() {
            this.$parent.title = '我的工人信息';
            this.$parent.isTabbar = true;
            this.$parent.active = 2;
            return {}
        }
    }
</script>




